package com.gable.exhibition.service;

import com.gable.common.util.ReturnResultUtil;
import com.gable.exhibition.model.User;
import com.gable.exhibition.view.HospitalView;
import com.gable.exhibition.view.ImportExcelHospitalModel;

import java.util.List;

/**
 * Created by Lesson on 2018/2/8.
 */
public interface HospitalService {

    /**
     * 获取医院列表查询
     * @param hospitalView
     * @Create user jacky
     * @Create date 2018/2/8
     * @return
     */
    ReturnResultUtil queryHospitalList(HospitalView hospitalView);

    /**
     * 新增或者修改医院信息
     * @param hospitalView
     * @Create date 2018/2/8
     * @Create user jacky
     * @return
     */
    ReturnResultUtil addOrUpdateHospital(HospitalView hospitalView);

    /**
     * 查询医院详情
     * @param hospitalId
     * @Create user jacky
     * @Create date 2018/2/8
     * @return
     */
    ReturnResultUtil queryHospitalInfo(Long hospitalId);

    /**
     * 保存医院信息，excel导入
     * @param list
     * @Create user jacky
     * @Create date 2018/2/8
     * @return
     */
    ReturnResultUtil saveHospitalByExcel(List<ImportExcelHospitalModel> list, User user);

    /**
     * 根据经纬度获取方圆两公里内医院
     * @param hospitalView
     * @return
     */
    ReturnResultUtil queryHospitalListBySelect(HospitalView hospitalView);
}
